package com.lipaluma.exceptions;

import com.lipaluma.field.mapper.FieldMapper;

/**
 * Exception occured when a validation error is detected
 * @author Mario
 */
public class CsvParserValidationException extends RuntimeException {
	private static final long serialVersionUID = 1L;

	public CsvParserValidationException(FieldMapper column, String message, Throwable cause) {
		super(column.getDescription()+message, cause);
	}
	public CsvParserValidationException(FieldMapper column, String message) {
		super(column.getDescription()+message);
	}
	public CsvParserValidationException(String message, Throwable cause) {
		super(message, cause);
	}
	public CsvParserValidationException(String message) {
		super(message);
	}

	public CsvParserValidationException(Throwable cause) {
		super(cause);
	}
	
}
